window.Dcqtech_Form = {
    "formSaveGuid": "0", //表单冲突检查ID,
    "tableInfos": {}, //数据库连接信息
    "formInfos": null, //表单控件信息
    "saved": true,

    "isEdit": true,
    "isNew": null, //是新增还是编辑状态
    "lastDatas": null,
    "ajaxFn": [],  //保存表单初始化后，加载数据前的ajax方法，保证表单数据会等待ajax方法完成后执行。
    "lastClickButton": ""  //点击的工具栏按钮： submit,back,save...
};

window.ServerParam.UrlParams = window.Dcqtech.Url.params;

Dcqtech_Form.$form = $("#udf_wf_form")
window.g_stepid = "";
window.g_stepInfos = null;
window.g_editFormCount = 0;
window.g_workInfo = null;

template.defaults.imports.dateFormat = function (date, format) {
    return date = dayjs(date), date.format(format)
}